• The system in this scenario uses static MPLS labels for ingress and egress traffic. For configuration information on static label, refer to the Configuring MPLS over BGP with Static Labels section.The base configuration, as described in the Routing chapter of the System Enhanced Feature Configuration Guide, must be completed prior to attempt the configuration procedure described below.Important: Commands used in the configuration samples in this section provide base functionality to the extent that the most common or likely commands and/or keyword options are presented. In many cases, other optional commands and/or keyword options are available. Refer to the Command Line Interface Reference for complete information regarding all commands.
Step 1 Create a VRF on the router and assign a VRF-ID by applying the example configuration in the Create VRF with Route-distinguisher and Route-target section.
Step 2
Step 3
Step 4
Step 5 Configure the address family and redistribute the connected routes into BGP by applying the example configuration in the Configure Address Family section. This takes any routes from another protocol and redistributes them to BGP neighbors using the BGP protocol.
Step 6
Step 7 Optional. Bind DHCP service to work with MPLS labels for input and output by applying the example configuration in the Bind DHCP Service with MPLS Labels Bind DHCP Service with MPLS Labels section.
Step 8 Save your configuration as described in the Verifying and Saving Your Configuration chapter in this guide.Use this example to first create a VRF on the router and assign a VRF-ID. The second ip vrf command creates the route-distinguisher and route-target.Use this example to configure the address-family and to redistribute the connected routes into BGP. This takes any routes from another protocol and redistributes them to BGP neighbors using the BGP protocol.ip pool <name> <ip_addr_mask_combo> private vrf <vrf_name> mpls-label input <in_label_value> output <out_label_value1>bind address <ip_address> [ nexthop-forwarding-address <nexthop_ip_address> [ mpls-label input <in_mpls_label_value> output <out_mpls_label_value1> [ <out_mpls_label_value2> ]]]
• Optional keyword nexthop-forwarding-address <nexthop_ip_address> [ mpls-label input <in_mpls_label_value> output <out_mpls_label_value1> [ out_mpls_label_value2 ]] applies DHCP over MPLS traffic.
|
| Cisco Systems Inc. |
| Tel: 408-526-4000 |
| Fax: 408-527-0883 |